<template>
    <strong>        
        单选控件----{{ Control.controlKey }}
    </strong>
    <el-form-item :label="Control.controlKey">
  <el-radio-group v-model="Control.controlValue" class="ml-4">
    <el-radio
      :label="item.value"
      size="large"
      :key="index"
      v-for="(item, index) in Control.controlKeyNames"
      >{{ item.label }}</el-radio >
   
  </el-radio-group>
</el-form-item>
</template>
<script setup lang="ts">
import type { Control } from "../base/type";
import { PropType } from "vue";
  defineProps({
  Control: {
    type: Object as PropType<Control>,
    default: {
      controlValue: "",
    },
  },
});
</script>